/**
 * This class stores data for plotting Frequency Distribution Graph
 */
package org.wmine.visualization.data;

import java.util.ArrayList;

/**
 * @author Rajeev Kumar Thakur
 *This class is used to store data for Plottting Freq. Dist. 
 */
public class FrequencyDistributionData {
	private int noOfIntervals;
	private String attributeName;
	private ArrayList<FreqDistDataSingleClass> classList;
	
	
	public String getAttributeName() {
		return attributeName;
	}
	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}
	public ArrayList<FreqDistDataSingleClass> getClassList() {
		return classList;
	}
	public void setClassList(ArrayList<FreqDistDataSingleClass> classList) {
		this.classList = classList;
	}
	public int getNoOfIntervals() {
		return noOfIntervals;
	}
	public void setNoOfIntervals(int noOfIntervals) {
		this.noOfIntervals = noOfIntervals;
	}
	public FreqDistDataSingleClass  getFreqDistDataSingleClassInstance()
	{
		return (new FreqDistDataSingleClass());
	}
	
	public class FreqDistDataSingleClass {
		private double lowerBound;
		private double upperBound;
		private double frequency;
		
		public double getFrequency() {
			return frequency;
		}
		public void setFrequency(double frequency) {
			this.frequency = frequency;
		}
		public double getLowerBound() {
			return lowerBound;
			
		}
		public void setLowerBound(double tempLower) {
			this.lowerBound = tempLower;
		}
		public double getUpperBound() {
			return upperBound;
		}
		public void setUpperBound(double upperBound) {
			this.upperBound = upperBound;
		}
		
	
	}

}

